all:b web js sql
b:bind_test.cpp
	g++ -o $@ $^ -std=c++11
web:websocket_test.cpp
	g++ -std=c++11 $^ -o $@ -lpthread -lboost_system
js:jscpp_test.cpp
	g++ $^ -o $@ -std=c++11 -ljsoncpp -lpthread -lboost_system
sql:sql_test.cpp
	g++ $^ -o $@ -std=c++11  -L/usr/lib64/mysql/ -lmysqlclient
.PHONY:clean
clean:
	rm -f b web js sql